<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>盒子模型之内边距</title>
  <style>
    /* padding 属性用于设置内边距，即边框与内容之间的距离
    padding-left      左内边距
    padding-right     右内边距
    padding-top       上内边距
    padding-bottom    下内边距
    */
    div {
      width: 200px;
      height: 200px;
      background-color: pink;
      padding-left: 20px;
      padding-top: 20px;
    }
  </style>
</head>
<body>
  <div>
    盒子内容是content盒子内容是content盒子内容是content盒子内容是content盒子内容是content
  </div>
</body>
</html>